<template>
	<view class="content">
		<view class="top">
			<image src="@/static/images/success.png" mode=""></image>
			<view>创建成功</view>
			<view class="text-grey">
				创建成功后，请等待审核通过，您可继续“完善信息”，但仍需等待后台审核通过本次创建的联赛，后台审核通过并完善信息”后方可展示在平台
			</view>
		</view>
		<view class="bottom">
			<text class="bottom-text">如需帮助请联系<text class="font-color-def">专属客服</text></text>
			<view class="btns">
				<button>返回</button>
				<button type="default" @click="onPerfect">完善信息</button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			onPerfect() {
				uni.navigateTo({
					url: '/pages/createCompetition/perfect'
				})
				//this.$tab.navigateTo('/pages/createCompetition/perfect')
			}
		}
	}
</script>

<style scoped lang="scss">
	.content {
		padding: 30rpx;

		.top {
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;

			image {
				width: 300rpx;
				height: 300rpx;
				margin-bottom: 30rpx;
			}

			view {
				&:nth-child(2) {
					font-size: 40rpx;
					font-weight: 800;
					margin-bottom: 30rpx;
				}

				&:nth-child(3) {
					font-size: 26rpx;
				}

			}
		}
		.bottom {
			position: absolute;
			bottom: 0;
			width: 100%;
			left: 0;
			padding: 40rpx 30rpx;
			padding-bottom: calc(40rpx + env(safe-area-inset-bottom));
			.bottom-text {
				margin-bottom: 20rpx;
				display: block;
				font-size: 26rpx;
				font-weight: 600;
				text {
					text-decoration: underline;
				}
			}
			.btns {
				display: flex;
				justify-content: space-between;
				button {
					width: 46%;
					font-size: 30rpx;
					margin: 2px;
					&:nth-child(1) {
						color: $font-color;
						background-color: #fff;
						&::after {
							border: 1px solid $btn-bg-color;
							
						}
					}
					&:nth-child(2) {
						background-color: $btn-bg-color;
						color: #fff;
					}
				}
			}
		}
	}
</style>